package com.pp.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 品牌故事详情
 * </p>
 *
 * @author 张子艺
 * @since 2019-04-02
 */
@ApiModel(value="GovStoryInfo对象", description="品牌故事详情")
public class GovStoryInfo extends Model<GovStoryInfo> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty(value = "关联ID")
    @TableField("relaction_id")
    private Long relactionId;

    @ApiModelProperty(value = "富文本内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "中英文 1 中 2 英文")
    @TableField("lang")
    private Integer lang;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getRelactionId() {
        return relactionId;
    }

    public void setRelactionId(Long relactionId) {
        this.relactionId = relactionId;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Integer getLang() {
        return lang;
    }

    public void setLang(Integer lang) {
        this.lang = lang;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GovStoryInfo{" +
        "id=" + id +
        ", relactionId=" + relactionId +
        ", content=" + content +
        ", lang=" + lang +
        "}";
    }
}
